package com.goldcn.picture.dao;

import com.goldcn.picture.model.PicStorageDetail;
import org.apache.catalina.LifecycleState;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface PicStorageDetailMapper {
    int deleteByPrimaryKey(Long slaveid);

    int insert(PicStorageDetail record);

    int insertSelective(PicStorageDetail record);

    PicStorageDetail selectByPrimaryKey(Long slaveid);

    int updateByPrimaryKeySelective(PicStorageDetail record);

    int updateByPrimaryKey(PicStorageDetail record);

    int deleteByStorageID(Long storageID);

    List<Map> selectPicByStorageId(Long storageid);

}
